package com.eightbears.beboy.entity;

import com.eightbears.beboy.base.BaseEntity;

import java.io.Serializable;
import java.util.List;

/**
 * Created by baoga on 2017/4/24.
 */

public class SystemMessageCommonEntity extends BaseEntity implements Serializable {

    private CommentEntityList data;

    public CommentEntityList getData() {
        return data;
    }

    public void setData(CommentEntityList data) {
        this.data = data;
    }

    @Override
    public String toString() {
        return "SystemMessageCommonEntity{" +
                "data=" + data +
                '}';
    }

    public static class CommentEntityList{
        private int next_page;
        private int page_size;
        private int is_end;
        private List<SystemCommentEntity> list;


        public int getNext_page() {
            return next_page;
        }

        public void setNext_page(int next_page) {
            this.next_page = next_page;
        }

        public int getPage_size() {
            return page_size;
        }

        public void setPage_size(int page_size) {
            this.page_size = page_size;
        }

        public int getIs_end() {
            return is_end;
        }

        public void setIs_end(int is_end) {
            this.is_end = is_end;
        }

        public List<SystemCommentEntity> getList() {
            return list;
        }

        public void setList(List<SystemCommentEntity> list) {
            this.list = list;
        }
    }


    public static class SystemCommentEntity {

        private String id;
        private String from_id;
        private String to_id;
        private String post_id;
        private String comment_id;
        private String status;
        private String created_at;
        private FromUser from_user;


        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getFrom_id() {
            return from_id;
        }

        public void setFrom_id(String from_id) {
            this.from_id = from_id;
        }

        public String getTo_id() {
            return to_id;
        }

        public void setTo_id(String to_id) {
            this.to_id = to_id;
        }

        public String getPost_id() {
            return post_id;
        }

        public void setPost_id(String post_id) {
            this.post_id = post_id;
        }

        public String getComment_id() {
            return comment_id;
        }

        public void setComment_id(String comment_id) {
            this.comment_id = comment_id;
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }

        public String getCreated_at() {
            return created_at;
        }

        public void setCreated_at(String created_at) {
            this.created_at = created_at;
        }

        public FromUser getFrom_user() {
            return from_user;
        }

        public void setFrom_user(FromUser from_user) {
            this.from_user = from_user;
        }

        @Override
        public String toString() {
            return "SystemMessageEntity{" +
                    "id='" + id + '\'' +
                    ", from_id='" + from_id + '\'' +
                    ", to_id='" + to_id + '\'' +
                    ", post_id='" + post_id + '\'' +
                    ", comment_id='" + comment_id + '\'' +
                    ", status='" + status + '\'' +
                    ", created_at='" + created_at + '\'' +
                    ", from_user=" + from_user +
                    '}';
        }
    }



    public static class FromUser implements Serializable{
        private String user_id;
        private String nickname;
        private String cover;

        public String getUser_id() {
            return user_id;
        }

        public void setUser_id(String user_id) {
            this.user_id = user_id;
        }

        public String getNickname() {
            return nickname;
        }

        public void setNickname(String nickname) {
            this.nickname = nickname;
        }

        public String getCover() {
            return cover;
        }

        public void setCover(String cover) {
            this.cover = cover;
        }

        @Override
        public String toString() {
            return "FromUser{" +
                    "user_id='" + user_id + '\'' +
                    ", nickname='" + nickname + '\'' +
                    ", cover='" + cover + '\'' +
                    '}';
        }
    }

}



